package com.xunfang.portal.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @TableName t_order
 */
@Data
@TableName(value ="t_order")
public class Order {
    private Long id;

    private String orderNum;

    private Double totalPrice;

    private Long userId;

    private Integer addressId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer state;
}